<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/8/27 0027
 * Time: 11:49
 */
$clublist = '';
$allclub = $game->club_get_info_all();
$player = $game->player_get_uinfo();

if ($allclub){
    $i = 0;
    foreach ($allclub as $club){
        $i++;

        $clubcmd = $game->create_url("cmd=club&canshu=into_club&clubid={$club->clubid}","{$club->clubname}");

        $clublist .= "[{$i}]{$clubcmd}<br/>";
    }
}

$clubhtml ="
===========门派天榜===========
<br/>
$clublist<br/>
{$变量_系统->链接_返回游戏_按钮短}";



echo $clubhtml;